package tests;


import java.util.ArrayList;

import pack.model.Model;
import pack.model.Player;
import pack.model.WorldObject;
import android.test.AndroidTestCase;

/**
 * Testclass for the MCHammer model class
 * @author Qw4z1
 *
 */
public class ModelTest extends AndroidTestCase{

	Model smallModel;
	Model mediumModel;
	Model bigModel;
	
	public void setUp() throws Exception {
		super.setUp();
		smallModel = new Model(mapGenerator());
		
	}

	/**
	 * Method for creating a new map
	 * @return ArrayList<WorldObject>
	 */
	private ArrayList<WorldObject> mapGenerator(){
		ArrayList<WorldObject> levelMap = new ArrayList<WorldObject>();
		levelMap.add(new Player(0,4));
		return levelMap;
	}
	public final void testModel() {
	}

	public final void testGetSprites() {
	}

	public final void testTimeTick() {
	}

	public final void testGetPlayerX() {
		assertEquals("Player X coordinate should be 0",0,(int)smallModel.getPlayerX());
	}

	public final void testGetPlayerY() {
		assertEquals("Player Y coordinate should be 4",4,(int)smallModel.getPlayerY());
	}

}
